import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import("../views/Home/home.vue"),
  },
  {
    path: "/explore",
    name: "Explore",
    component: () => import("../views/Explore/explore.vue"),
  },
  {
    path: "/booking",
    name: "Booking",
    component: () => import("../views/Booking/booking.vue"),
  },
  {
    path: "/blog",
    name: "Blog",
    component: () => import("../views/Blog/blog.vue"),
  },
  {
    path: "/plan",
    name: "PlanTrip",
    component: () => import("../views/PlanTrip/index.vue"),
  },
  {
    path: "/spend",
    name: "Spend",
    component: () => import("../views/PlanTrip/spend.vue"),
  },
  {
    path: "/spendList",
    name: "SpendList",
    component: () => import("../views/PlanTrip/spendList.vue"),
  },
  {
    path: "/map",
    name: "Map",
    component: () => import("../views/Map/index.vue"),
  },
  {
    path: "/profileinfo",
    name: "profileinfo",
    component: () => import("../views/Profile/index.vue"),
  },
  {
    path: "/stepOne",
    name: "stepOne",
    component: () => import("../views/Map/stepOne.vue"),
  },
  {
    path: "/stepTwo",
    name: "stepTwo",
    component: () => import("../views/Map/stepTwo.vue"),
  },
  {
    path: "/test",
    name: "test",
    component: () => import("../views/Map/test.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
